home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / Squeaky.swf / scripts / frame_290 / PlaceObject2_275_61 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2005-08-04  |  302 b   |  11 lines

  1. onClipEvent(enterFrame){
  2.    this.bshadow.gotoAndStop(2);
  3.    if(this._parent.hero.shape.hitTest(this) && this._currentFrame == 1 && _root.hero._y - 40 < this._y)
  4.    {
  5.       _root.score += 100;
  6.       fx1.start();
  7.       this.gotoAndStop(2);
  8.       _root.ufo2.score = _root.ufo2.score + 1;
  9.    }
  10. }
  11.